<?php

/**
 * 微信配置
 */
return [
    //AppID
//    'app_id' => 'wxbe01d607d47d091e',   //厉川
    'app_id' => 'wx73829bc45cc880d4',   //可语
    //appid
//    'miniapp_id' => 'wxbe01d607d47d091e',
    'miniapp_id' => 'wx73829bc45cc880d4',
    //AppSecret
//    'secret' => 'b4242ed6211fd7f77d1d41d2a7af3093',
    'secret' => '83cd71205e07480003cfdde9b12c85e1',
    //小程序授权的url
    'auth_url' => "https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code",
    //商户号
//    'mch_id' => '1579976061',
    'mch_id' => '1603321933',
    //API密钥
//    'key' => 'LClook2019LClook2019LClook2019LC',
    'key' => '83cd71205e07480003cfdde9b12c85e1',
    //预约回调
    'order_notify_url' => 'https://wxapp.well-talk.com/api/v1/order/paymentResult',
    //充值回调
    'recharge_notify_url' => 'https://wxapp.well-talk.com/api/v1/user.recharges/paymentResult',

    'response_type' => 'array',
    //证书
    'cert_path' => EXTEND_PATH.('/cert/apiclient_cert.pem'),
    'key_path'    => EXTEND_PATH.('/cert/apiclient_key.pem'),
    //日志
    'log' => [
        'file' => RUNTIME_PATH.'/log/wechat_pay.log'
    ],
    //订阅消息模板
    'template' => [
        //下单成功
        'order_success' => 'kK2ai9RrT1cwgyGlYa_MTtFC53IyQlfNo--OkDiVMsU',
        //预约成功
        'course_success' => '4eYjHG7fupViJntHUE93MdX0116QlqwHI3JT5K3jATs',
        //退款通知
        'refund_result' => '5sDSUPmPPl5hdZbaHfzVhtFlnd9e9557RByPn5BWGKk',
    ]


];
